//
//  BETitleHeaderModel.h
//  s.
//
//  Created by fanshijian on 2022/8/26.
//  Copyright © 2022 J. All rights reserved.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BETitleHeaderModel : BaseModel

/// title font
@property (strong, nonatomic, nullable) UIFont *tf;
@property (copy, nonatomic, nullable) id title;
@property (strong, nonatomic, nullable) NSString *tColor;
// 背景色
@property (nonatomic, strong, nullable) NSString *color;
@property (nonatomic) NSTextAlignment textAlignment;
@property (assign, nonatomic) CGFloat topOffset;
@property (assign, nonatomic) CGFloat leftOffset;
@property (assign, nonatomic) CGFloat titleH;

// 适用title是NSAttribute
+ (BETitleHeaderModel *)cT:(id)t left:(CGFloat)left top:(CGFloat)top h:(CGFloat)h;
// 适用title是字符串
+ (BETitleHeaderModel *)cT:(id)t tf:(UIFont * __nullable)tf tc:(NSString * __nullable)tc left:(CGFloat)left top:(CGFloat)top h:(CGFloat)h;

@end

NS_ASSUME_NONNULL_END
